package com.woniu.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class RebornException extends RuntimeException{
    private static final long serialVersionUID=1L;
    private Integer code;
    public RebornException(String msg,Integer code){
        super(msg);
        this.code=code;
    }
}
